package com.incar.chuxing.utils.ble.callback;

import android.bluetooth.BluetoothGatt;

import com.incar.chuxing.utils.ble.exception.BleException;


/**
 * @Description: 连接设备回调
 * @author: <a href="http://www.xiaoyaoyou1212.com">DAWI</a>
 * @date: 16/8/20 16:21.
 */
public interface IConnectCallbackInner {
    void onConnectSuccess(BluetoothGatt gatt, int status, int delayTime);

    void onConnectFailure(BleException exception);

    void onDisconnect(boolean isActive);

    void onConnectTimeout(BluetoothGatt bluetoothGatt);

    void onRelease(BluetoothGatt bluetoothGatt);

    void onUnDiscoverServices(BluetoothGatt gatt);
}
